# -*- coding: utf-8 -*-
"""
@Project ：regression_service
@File    ：el_main_rdc.py
@Author  ：程江林
@Date    ：2022/01/27 16:58
"""
from selenium.webdriver.common.by import By

main_rdc={
    '主目录': {
        '应用管理':[By.XPATH,'//h3[contains(text(),"应用")]'],
        '分支管理':[By.XPATH,'//h3[contains(text(),"分支")]'],
        '版本管理': [By.XPATH,'//h3[contains(text(),"版本")]'],
        '环境管理':[By.XPATH,'//h3[contains(text(),"环境")]'],
        '流水线管理':[By.XPATH,'//h3[contains(text(),"流水线")]'],
        '测试管理':[By.XPATH,'//h3[contains(text(),"测试")]'],
        '成员管理':[By.XPATH,'//h3[contains(text(),"成员")]']
    },
    '顶行': {
        '项目选择': [By.CSS_SELECTOR,'.user-project-text']
    },
    '选择项目':{
        '输入项目':[By.XPATH,"//input[@class='el-input__inner' and @placeholder='请输入项目']"],
        '选择项目':[By.CSS_SELECTOR,".user-projects__name"]
    }
}